FROM 192.168.1.202/weslink/tomcat:empty
MAINTAINER shulei

COPY target/activation_platform.war /usr/local/tomcat/webapps/ROOT.war

#设置时区
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && echo 'Asia/Shanghai' >/etc/timezone

EXPOSE 8080
CMD ["catalina.sh", "run"]